﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<TemplateWeb.Models.ViewModels.GroupViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div class="content_panel">
        <div class="box_center">
	        <div class="title"><span><%= Model.DetailOfLoaiTinTucModel.GetModel.LstObjModel[0].TenLoaiTinTuc %></span><div class="bg"><img src="../../Content/Images/Home/bg_title_right.png"></div></div>
	        <div class="content">	
            <% foreach (var item in Model.TinTucModel.GetModel.LstObjModel)
                { %>
                <div class="list_item">
                    <div class="img">
                        <a href="<%= Url.Action("ChiTietTinTuc", "Home", new { id = item.ID }) %>" title="<%= item.TieuDe %>">
                        <img src="../../Content/Images/Items/<%= item.HinhMinhHoa %>" 
                            alt="<%= item.TieuDe %>" width="114" 
                            height="151">
                        </a>
                    </div>
                    <div class="text">
                        <a href="<%= Url.Action("ChiTietTinTuc", "Home", new { id = item.ID }) %>" title="<%= item.TieuDe %>" class="name"><%= item.TieuDe %></a><br>
                        <p style="text-align: justify; "><%= Html.Truncate(item.NoiDungRutGon, WebConfiguration.TinTucSortDescription) %><br>
                        <a href="<%= Url.Action("ChiTietTinTuc", "Home", new { id = item.ID }) %>" title="Xem tiếp" class="next">Xem tiếp</a>
                        </p>
                    </div>
                </div>
             <% } %>
            </div>
        </div>
    </div>
</asp:Content>
